package com.lanou.dormitory.service;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lanou.dormitory.dao.RoleMapper;
import com.lanou.dormitory.entity.Role;
@Service
public class RoleServicelmpl implements RoleService{
	@Autowired
	private RoleMapper roleMapper;
	
	@Override
	public List<Role> getAll() {
		return roleMapper.getAll();
	}

}
